package hu.bme.aut.consulttime.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import hu.bme.aut.consulttime.entitydtos.ProjectDTO;
import hu.bme.aut.consulttime.entitydtos.UserDTO;

@RemoteServiceRelativePath("project")
public interface ProjectService extends RemoteService {
	
	public Boolean createProject(ProjectDTO projectDTO);
	
	public List<UserDTO> retrieveTutors();
	
	public List<UserDTO> retrieveTutors(long projectId);
	
	public List<ProjectDTO> retrieveProjects();
	
	public List<ProjectDTO> retrieveProjects(long tutorId);
	
	public ProjectDTO retrieveProject(long projectId);
	
	public Boolean deleteProject(long id);
	
	public Boolean updateProject(ProjectDTO projectDTO);
}
